package com.hollysys.hollimsa.biz.istio.destinationrule.service;


import com.hollysys.hollimsa.biz.istio.destinationrule.domain.DestinationRuleDTO;
import com.hollysys.hollimsa.biz.istio.destinationrule.domain.DestinationRuleDetailDTO;
import com.hollysys.hollimsa.biz.istio.destinationrule.domain.DestinationRuleVO;
import com.hollysys.hollimsa.biz.istio.destinationrule.domain.SimpleDetailDestinationRuleDTO;

import java.util.List;

public interface DestinationRuleService {
    List<DestinationRuleDTO> listDestinationRule();

    boolean createOrReplaceDestinationRule(DestinationRuleVO destinationRuleVO);

    boolean deleteDestinationRule(String name);

    DestinationRuleDetailDTO getDestinationRuleDetail(String name);

    SimpleDetailDestinationRuleDTO  drData4DropDown();
}
